<!DOCTYPE html>
<html> 
	<head> 
	<title>TU Braunschweig mobil</title> 	
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<meta name="viewport" content="width=device-width; initial-scale=1; maximum-scale=1; user-scalable=no;"> 
        <link rel="shortcut icon" href="themes/images/tubs_favicon.png" />
	<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.css" />
        <link rel="stylesheet" href="themes/TU-BS.css" />
	<script type="text/javascript" src="http://code.jquery.com/jquery-1.6.4.min.js"></script>
	<script type="text/javascript" src="http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.js"></script>
</head> 

<body> 
    <div data-role="page" id="suchergebnisse">
        <div data-role="header" data-position="inline">
            <div class="ui-grid-a">
                    <div class="ui-block-a">
                <div id="header">
                    <a href="index-mobile.php" data-ajax="false"><img src="themes/images/siegel.png" width="71px" height="74px" alt="TU Siegel"></a>
                </div>
                    </div>
                <div class="ui-block-b">
            <div id="crumb">
                    <img src="themes/images/06-magnify@2xw.png" height="36px" width="48px">
                </div>
                </div>
            </div>
            <div style="clear: both"></div>
            </div>
        <div data-role="content" data-theme="b">
            <div id="cse" style="width: 100%;">Loading</div>
            <script src="http://www.google.de/jsapi" type="text/javascript"></script>
            <script type="text/javascript"> 
            function parseQueryFromUrl () {
                var queryParamName = "q";
                var search = window.location.search.substr(1);
                var parts = search.split('&');
                for (var i = 0; i < parts.length; i++) {
                    var keyvaluepair = parts[i].split('=');
                    if (decodeURIComponent(keyvaluepair[0]) == queryParamName) {
                        return decodeURIComponent(keyvaluepair[1].replace(/\+/g, ' '));
                    }
                }
                return '';
                }

            google.load('search', '1', {language : 'de'});
            google.setOnLoadCallback(function() {
                var customSearchControl = new google.search.CustomSearchControl(
                '013032286049513635742:b-wm8anvsxg');

                customSearchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET);
                customSearchControl.draw('cse');
                var queryFromUrl = parseQueryFromUrl();
                if (queryFromUrl) {
                    customSearchControl.execute(queryFromUrl);
                }
            }, true);
            </script>
            <link rel="stylesheet" href="themes/cse.css" type="text/css" /> 
        </div>
    </div>
</body>
</html>